@@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input hidden="hidden" name="id" id="id" value="${item.id}">
            <input type="hidden" id="statusValue" value="${item.status}">
            <input type="hidden" id="homePageDisplayValue" value="${item.homePageDisplay}">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="url" name="链接地址" value="${item.url}" underline="true"/>
                            <#input id="name" name="链接名" value="${item.name}" underline="true"/>
                            <#input id="description" name="链接介绍" value="${item.description}" underline="true"/>
                            <#input id="email" name="友链站长邮箱" value="${item.email}" underline="true"/>
                            <#input id="qq" name="友链站长QQ" value="${item.qq}" underline="true"/>
                            <#input id="favicon" name="图标" value="${item.favicon}"  underline="true"/>
                </div>

                <div class="col-sm-6">
                            <#select id="status" name="状态" underline="true">
                                <option value="1">启用</option>
                                <option value="2">禁用</option>
                            </#select>
                            <#select id="homePageDisplay" name="首页显示" underline="true">
                                <option value="1">是</option>
                                <option value="0">否</option>
                            </#select>
                            <#input id="remark" name="备注" value="${item.remark}" underline="true"/>
                            <#input id="source" name="来源" value="${item.source}" underline="true"/>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="LinkInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="LinkInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/link/link_info.js"></script>
@@}
